<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/

Route::get('/', function () {
    return view('home.user.login');
});
//后台主页跳转控制器
Route::Controller('/admin/','AdminController');
//后台用户添加控制器
Route::Controller('/admin/user','UserController');
//后台商品分类添加
Route::Controller('/admin/class','ClassController');
//前台登录登录管理

//后台注册页面
Route::Controller('/home/logon','LogonController');
